/**
 * 
 */
package com.fh.entity;

import java.util.Date;

/**
 * ClassName: Emergency 
 *
 * @Description 应急事件实体类
 *
 * @author mouchina1005
 *
 * @date 2017年7月28日 下午4:00:14
 *
 */
public class Event {
	private Long id;
	private String title;
	private Date createTime;
	private Date happenedTime;
	/**
	 * 财产损失(1代表1-1000,2代表1001-3000,3代表3001-5000,4代表5001-10000，5代表10000以上)
	 */
	private Integer propertyLoss = 1;
	/**
	 * 人员伤亡(1代表1-5,2代表6-10,3代表10以上)
	 */
	private Integer peopleLoss = 1;
	private String devDesc;
	private String other;
	private String province;
	private String city;
	private String area;
	private String street;
	/**
	 * 图片（多张的话逗号隔开保存）
	 */
	private String pic;
	/**
	 * 接收者id
	 */
	private String receiverId;
	/**
	 * 发布事件人id
	 */
	private String publisherId;
	/**
	 * 事故类型id
	 */
	private String eventTypeId;
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getHappenedTime() {
		return happenedTime;
	}
	public void setHappenedTime(Date happenedTime) {
		this.happenedTime = happenedTime;
	}
	public Integer getPropertyLoss() {
		return propertyLoss;
	}
	public void setPropertyLoss(Integer propertyLoss) {
		this.propertyLoss = propertyLoss;
	}
	public Integer getPeopleLoss() {
		return peopleLoss;
	}
	public void setPeopleLoss(Integer peopleLoss) {
		this.peopleLoss = peopleLoss;
	}
	public String getDevDesc() {
		return devDesc;
	}
	public void setDevDesc(String devDesc) {
		this.devDesc = devDesc;
	}
	public String getOther() {
		return other;
	}
	public void setOther(String other) {
		this.other = other;
	}
	public String getProvince() {
		return province;
	}
	public void setProvince(String province) {
		this.province = province;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public String getArea() {
		return area;
	}
	public void setArea(String area) {
		this.area = area;
	}
	public String getStreet() {
		return street;
	}
	public void setStreet(String street) {
		this.street = street;
	}
	public String getPic() {
		return pic;
	}
	public void setPic(String pic) {
		this.pic = pic;
	}
	public String getReceiverId() {
		return receiverId;
	}
	public void setReceiverId(String receiverId) {
		this.receiverId = receiverId;
	}
	public String getEventTypeId() {
		return eventTypeId;
	}
	public void setEventTypeId(String eventTypeId) {
		this.eventTypeId = eventTypeId;
	}
	public String getPublisherId() {
		return publisherId;
	}
	public void setPublisherId(String publisherId) {
		this.publisherId = publisherId;
	}
	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return "Event ["
		 + "id = " + id + ", title = " + title + ", createTime = " + createTime + ", happenedTime = " + happenedTime
		 + ", propertyLoss = " + propertyLoss + ", peopleLoss = " + peopleLoss + ", devDesc = " + devDesc + ", other = " + other
		 + ", province = " + province + ", city = " + city + ", area = " + area + ", street = " + street + ", pic = " + pic + ", receiverId = " + receiverId 
		 + ", publisherId = " + publisherId + ", eventTypeId = " + eventTypeId 
		+"]";
	}
	
	
	
}
